<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title></title>
    </head>
    <style>
        .container {
            width: 100%;
            display: flex;
          
        }
        .center {
            background-color: aqua;
            order: 2;
            width: 100%;
            height: 300px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .left {
            background-color: pink;
            order: 1;
            width: 200px;
            height: 300px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .right {
            background-color: blue;
            order: 3;
            width: 200px;
            height: 300px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .header,.footer{
            width: 100%;
            height: 100px;
            background-color: gray;
            display: flex;
            align-items: center;
            justify-content: center;
        }
    </style>
    <body>
        <div class="header">头部</div>
        <div class="container">
            <div class="center">中间</div>
            <div class="left">左边</div>
            <div class="right">右边</div>
        </div>
        <div class="footer">尾部</div>
    </body>
</html>
